<div id="updateProductPriceModel" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="updateProductPriceModelLabel" aria-hidden="true">
    <div class="modal-dialog modal-lg">
        <div class="modal-content">
            <div class="modal-header">
                <h3 class="modal-title" id="updateProductPriceModelLabel">商品定价</h3>
                <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                    <span aria-hidden="true">&times;</span>
                </button>
            </div>
            <div class="modal-body">
                <div class=" row">
                    <div class="col-lg-12">
                        <div class="ibox ">
                            <div class="row">
                                <div class="col-sm-7 m-b-xs">
                                    <div class="input-group">
                                        <select class="form-control form-control-sm" v-model="updateProductPriceInfo.categoryId">
                                            <option selected  value="">请选择商品分组</option>
                                            <option v-for="(item,index) in updateProductPriceInfo.productCategorys"
                                                    :value="item.categoryId">{{item.categoryName}}
                                            </option>
                                        </select>
                                    </div>
                                </div>
                                <div class="col-sm-5">
                                    <div class="input-group">
                                        <input placeholder="输入商品信息名称" type="text" v-model="updateProductPriceInfo._currentProductName" class="form-control form-control-sm">
                                        <span class="input-group-append">
                                            <button type="button" class="btn btn-sm btn-primary"
                                                    v-on:click="queryProducts()">
                                                <i class="fa fa-search"></i> 查询
                                            </button>
                                        </span>
                                    </div>
                                </div>
                            </div>
                            <div class="table-responsive" style="margin-top:15px">
                                <table class="table table-striped">
                                    <thead>
                                        <tr>
                                            <th class="text-center">
                                                <input type="checkbox" class="i-checks" v-bind:checked="updateProductPriceInfo.quanGroup" @click="checkAllGroup($event)">
                                            </th>
                                            <th class="text-center">商品名称</th>
                                            <th class="text-center">商品大类</th>
                                            <th class="text-center">商品编号</th>
                                        </tr>
                                    </thead>
                                    <tbody>
                                        <tr v-for="product in updateProductPriceInfo.products">
                                            <td class="text-center">
                                                <input type="checkbox" class="i-checks checkGroupItem" v-bind:value="product.productId" v-model="updateProductPriceInfo.selectProducts">
                                            </td>
                                            <td class="text-center">{{product.prodName}}</td>
                                            <td class="text-center">{{product.categoryName}}</td>
                                            <td class="text-center">{{product.productId}}</td>
                                        </tr>
                                    </tbody>
                                </table>
                            </div>
                            <vc:create path="frame/paginationPlus" namespace="updateProductPrice"></vc:create>
                        </div>
                    </div>
                </div>
                <div class="ibox-content">
                    <button class="btn btn-primary float-right" type="button" v-on:click="_updateProductPrice()">定价</button>
                    <button type="button" class="btn btn-white float-right" style="margin-right:20px;" v-on:click="_closeUpdateProductPrice()">取消</button>
                </div>
            </div>

        </div>
    </div>
</div>